package org.jeecg.modules.demo.ch.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.modules.demo.ch.entity.RequirementComments;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @Description: 需求反馈
 * @Author: jeecg-boot
 * @Date:   2022-11-15
 * @Version: V1.0
 */
@Data
@ApiModel(value="ch_demand_feedbackPage对象", description="需求反馈")
public class ChDemandFeedbackPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
    private String id;
	/**所属系统*/
	@Excel(name = "所属系统", width = 15)
	@ApiModelProperty(value = "所属系统")
    private String belongSystem;
	/**反馈部门*/
	@Excel(name = "反馈部门", width = 15)
	@ApiModelProperty(value = "反馈部门")
    private String feedbackDepartment;
	/**提问人*/
	@Excel(name = "提问人", width = 15)
	@ApiModelProperty(value = "提问人")
    private String questioner;
	/**问题类型*/
	@Excel(name = "问题类型", width = 15)
	@ApiModelProperty(value = "问题类型")
    private String problemType;
	/**问题描述*/
	@Excel(name = "问题描述", width = 15)
	@ApiModelProperty(value = "问题描述")
    private String problemDesc;
	/**解决方案*/
	@Excel(name = "解决方案", width = 15)
	@ApiModelProperty(value = "解决方案")
    private String solution;
	/**附件*/
	@Excel(name = "附件", width = 15)
	@ApiModelProperty(value = "附件")
    private String enclosure;
	/**指派人*/
	@Excel(name = "指派人", width = 15)
	@ApiModelProperty(value = "指派人")
    private String assigner;
	/**反馈日期*/
	@Excel(name = "反馈日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "反馈日期")
    private Date feedbackDate;
	/**反馈状态(1.未开始2.进行中3.已完成4.关闭)*/
	@Excel(name = "反馈状态(1.未开始2.进行中3.已完成4.关闭)", width = 15)
	@ApiModelProperty(value = "反馈状态(1.未开始2.进行中3.已完成4.关闭)")
    private String status;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
    private String sysOrgCode;

	@ExcelCollection(name="需求评论")
	@ApiModelProperty(value = "需求评论")
	private List<RequirementComments> requirementCommentsList;

}
